package com.ruoyi.develop.orderIronDetail.domain;

import java.math.BigDecimal;

import com.ruoyi.develop.orderIronRecord.domain.OrderIronRecord;
import com.ruoyi.develop.projectBaseInfo.domain.ProjectBaseInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 铁附件订单拆解明细对象 order_iron_detail
 *
 * @author lmm
 * @date 2024-10-21
 */
public class OrderIronDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 记录id
     */
    @Excel(name = "记录id")
    private String recordId;

    /**
     * 地区
     */
    @Excel(name = "地区")
    private String area;


    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 物料描述
     */
    @Excel(name = "物料描述")
    private String description;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal amount;

    /**
     * 单重
     */
    @Excel(name = "单重")
    private BigDecimal unitWeight;

    /**
     * 总重
     */
    @Excel(name = "总重")
    private BigDecimal totalWeight;




    /**
     * 核算单重
     */
    @Excel(name = "核算单重")
    private BigDecimal calcUnitWeight;

    /**
     * 核算总重
     */
    @Excel(name = "核算总重")
    private BigDecimal calcTotalWeight;

    /**
     * 仓库
     */
    @Excel(name = "仓库")
    private String store;


    /** * 是否BOM   */
    @Excel(name = "是否BOM")
    private String isBom;

    /**
     * 含税单价
     */
    @Excel(name = "含税单价")
    private BigDecimal unitPrice;

    /**
     * 含税总价
     */
    @Excel(name = "含税总价")
    private BigDecimal totalPrice;

    /**
     * 物料编码
     */
    @Excel(name = "物料编码")
    private String materialCode;

    /**
     * 送货通知单号
     */
    @Excel(name = "送货通知单号")
    private String noticeNumber;

    /**
     * 领用项目编号
     */
    @Excel(name = "领用项目编号")
    private String useProjectNumber;

    /**
     * 领用项目名称
     */
    @Excel(name = "领用项目名称")
    private String useProjectName;

    /**
     *下单收货人
     */
    @Excel(name = "下单收货人")
    private String orderReceiver;

    /**
     *下单收货人电话
     */
    @Excel(name = "下单收货人电话")
    private String orderReceiverTel;

    /**
     *实际收货人
     */
    @Excel(name = "实际收货人")
    private String actualReceiver;

    /**
     *实际收货人电话
     */
    @Excel(name = "实际收货人电话")
    private String actualReceiverTel;


    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long sort;

    /**
     * 第二备注
     */
    @Excel(name = "第二备注")
    private String remark2;

    /**
     * 删除标志
     */
    private String delFlag;

    private ProjectBaseInfo order;

    private OrderIronRecord record;

    public String getRemark2() {
        return remark2;
    }

    public void setRemark2(String remark2) {
        this.remark2 = remark2;
    }

    public OrderIronRecord getRecord() {
        return record;
    }

    public void setRecord(OrderIronRecord record) {
        this.record = record;
    }

    public ProjectBaseInfo getOrder() {
        return order;
    }

    public void setOrder(ProjectBaseInfo order) {
        this.order = order;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public String getIsBom() {
        return isBom;
    }

    public void setIsBom(String isBom) {
        this.isBom = isBom;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setUnitWeight(BigDecimal unitWeight) {
        this.unitWeight = unitWeight;
    }

    public BigDecimal getUnitWeight() {
        return unitWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getCalcUnitWeight() {
        return calcUnitWeight;
    }

    public void setCalcUnitWeight(BigDecimal calcUnitWeight) {
        this.calcUnitWeight = calcUnitWeight;
    }

    public BigDecimal getCalcTotalWeight() {
        return calcTotalWeight;
    }

    public void setCalcTotalWeight(BigDecimal calcTotalWeight) {
        this.calcTotalWeight = calcTotalWeight;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getNoticeNumber() {
        return noticeNumber;
    }

    public void setNoticeNumber(String noticeNumber) {
        this.noticeNumber = noticeNumber;
    }

    public String getUseProjectNumber() {
        return useProjectNumber;
    }

    public void setUseProjectNumber(String useProjectNumber) {
        this.useProjectNumber = useProjectNumber;
    }

    public String getUseProjectName() {
        return useProjectName;
    }

    public void setUseProjectName(String useProjectName) {
        this.useProjectName = useProjectName;
    }

    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getOrderReceiver() {
        return orderReceiver;
    }

    public void setOrderReceiver(String orderReceiver) {
        this.orderReceiver = orderReceiver;
    }

    public String getOrderReceiverTel() {
        return orderReceiverTel;
    }

    public void setOrderReceiverTel(String orderReceiverTel) {
        this.orderReceiverTel = orderReceiverTel;
    }

    public String getActualReceiver() {
        return actualReceiver;
    }

    public void setActualReceiver(String actualReceiver) {
        this.actualReceiver = actualReceiver;
    }

    public String getActualReceiverTel() {
        return actualReceiverTel;
    }

    public void setActualReceiverTel(String actualReceiverTel) {
        this.actualReceiverTel = actualReceiverTel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("recordId", getRecordId())
                .append("unit", getUnit())
                .append("amount", getAmount())
                .append("unitWeight", getUnitWeight())
                .append("totalWeight", getTotalWeight())
                .append("sort", getSort())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
